package demo.dto;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import static javax.persistence.GenerationType.IDENTITY;

@Data
public class RequestModifyUserDto {
    @NotNull(message = "uid 不能为空")
    private Long uid;

    @NotBlank(message = "用户名不能为空")
    private String userName;

    private String gender;
    private String phone;
    private String email;
    private String ethnicGroup;
    private String marriage;
    private String selfIntroduction;
    private String jobObjective;
    private String hobby;
    private String skill;
    private String education;
    // private String avatar;
}
